package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.math.BigDecimal;
import java.util.Date;
import java.sql.Timestamp;


/**
 * The persistent class for the PS_C_WF_LAVE_DTL database table.
 * 
 */
@Entity
@Table(name="PS_C_WF_LAVE_DTL")
@NamedQuery(name="PsCWfPlaveDtl.findAll", query="SELECT p FROM PsCWfPlaveDtl p")
@IdClass(PsCWfPlaveDtlPrimary.class)
public class PsCWfPlaveDtl implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_DURATION_DAYS")
	private BigDecimal cDurationDays;

	@Column(name="C_END_DTTM")
	private Timestamp cEndDttm;

	@Column(name="C_ENDDTTM_MODE")
	private String cEnddttmMode;

	@Column(name="C_LEAVE_INTERVAL")
	private String cLeaveInterval;

	@Column(name="C_LEAVE_TYPE")
	private String cLeaveType;

	@Column(name="C_LEVAE_UNIT")
	private String cLevaeUnit;

	@Column(name="C_START_DTTM")
	private Timestamp cStartDttm;

	@Id
	@Column(name="C_TRANSACTION_NBR")
	private String cTransactionNbr;

	@Temporal(TemporalType.DATE)
	@Column(name="END_DATE")
	private Date endDate;

	@Id
	private BigDecimal seqnbr;

	@Temporal(TemporalType.DATE)
	@Column(name="START_DATE")
	private Date startDate;

	public PsCWfPlaveDtl() {
	}

	public BigDecimal getCDurationDays() {
		return this.cDurationDays;
	}

	public void setCDurationDays(BigDecimal cDurationDays) {
		this.cDurationDays = cDurationDays;
	}

	public Timestamp getCEndDttm() {
		return this.cEndDttm;
	}

	public void setCEndDttm(Timestamp cEndDttm) {
		this.cEndDttm = cEndDttm;
	}

	public String getCEnddttmMode() {
		return this.cEnddttmMode;
	}

	public void setCEnddttmMode(String cEnddttmMode) {
		this.cEnddttmMode = cEnddttmMode;
	}

	public String getCLeaveInterval() {
		return this.cLeaveInterval;
	}

	public void setCLeaveInterval(String cLeaveInterval) {
		this.cLeaveInterval = cLeaveInterval;
	}

	public String getCLeaveType() {
		return this.cLeaveType;
	}

	public void setCLeaveType(String cLeaveType) {
		this.cLeaveType = cLeaveType;
	}

	public String getCLevaeUnit() {
		return this.cLevaeUnit;
	}

	public void setCLevaeUnit(String cLevaeUnit) {
		this.cLevaeUnit = cLevaeUnit;
	}

	public Timestamp getCStartDttm() {
		return this.cStartDttm;
	}

	public void setCStartDttm(Timestamp cStartDttm) {
		this.cStartDttm = cStartDttm;
	}

	public String getCTransactionNbr() {
		return this.cTransactionNbr;
	}

	public void setCTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public BigDecimal getSeqnbr() {
		return this.seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}